﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<div id="navigation">
    <ul id="menu" class="clearfix">
        <li class="title">CHANNELS: </li>
        <% List<VideoBlog.Data.Entities.Category> categories = VideoBlog.Web.Helpers.ApplicationHelper.Categories();
           foreach (VideoBlog.Data.Entities.Category c in categories)
           {
               if (c.CategorySlug ==  Model)
               { %>
               <li class="selected"><a href="/channel/<%= c.CategorySlug %>">
            <%= c.CategoryName%></a> </li>
               <%}
               else
               { %>
        <li><a href="/channel/<%= c.CategorySlug %>">
            <%= c.CategoryName%></a> </li>
        <%}
           } %>
    </ul>
    <div id="menustrapline">
        <b>Rati0nality:</b> Categorizing the webs rational resources so you can make better
        informed decisions. <b>Watch. Learn. Develop.</b></div>
</div>
